package com.bw.merchant.adapter

import com.bw.merchant.R

import com.bw.merchant.entity.ProfileEntity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder



class ProfileAdapter: BaseQuickAdapter<ProfileEntity, BaseViewHolder>(R.layout.item_merchant) {
    override fun convert(holder: BaseViewHolder, item: ProfileEntity) {
        holder.setText(R.id.tv_enterpriseName,item.name)
        holder.setText(R.id.tv_type,"行业类型：${item.industryType}")
        holder.setText(R.id.tv_content,"行业覆盖：${item.stockName}")
        holder.setText(R.id.tv_address,"企业所属地区：${item.address}")
    }
}